<template>
  <div class="phone-box">
    <div class="phone-top">
      <h3>
        手机
      </h3>
    </div>
    <div class="whole">
      <a href="javascript:">查看全部<i class="fa fa-angle-right fa-2x" aria-hidden="true"></i></a>
    </div>
    <div class="phonesort">
      <img src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/574c6643ab91c6618bfb2d0e2c761d0b.jpg" />
    </div>
    <div class="phonelist">
      <ul>
        <li v-for="item in 8">
          <div class="img">
            <img src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/ca9b4f81af709935556bef9aa21a90e8.jpg" />
          </div>
          <h3>小米9 Pro 5G </h3>
          <p class="text">5G双卡全网通，骁龙855Plus</p>
          <p class="price"><span>3699元</span></p>
        </li>
      </ul>
    </div>
    <div class="product-img">
        <img src="//cdn.cnbj1.fds.api.mi-img.com/mi-mall/3e63ab43e7c32296f18f34c8efb41534.jpg" />
    </div>
  </div>
</template>

<script>
  export default {
    data() {
      return {

      }
    },
    components: {

    },
    methods: {

    }
  }
</script>

<style scoped="scoped">
  @import url("../../static/style/font-awesome-4.7.0/css/font-awesome.css");

  .phone-box {
    position: relative;
    width: 100%;
    height: 58.25rem;
    background-color: #F5F5F5;
  }

  .phone-box .phone-top {
    position: absolute;
    left: 10.625rem;
  }

  .phone-box .phone-top h3 {
    font-size: 1.375rem;
    font-weight: 200;
    padding-top: 0.625rem;
    color: #333;
  }

  .phone-box .whole {
    position: absolute;
    width: 6.5rem;
    right: 11rem;

  }

  .phone-box .whole a {
    display: block;
    font-size: 1.3rem;
    color: #424242;
    padding-top: 0.625rem;


  }

  .phone-box .whole a i {
    position: relative;
    top: 0.325rem;
    padding-left: 0.325rem;
  }

  .phone-box .phonesort {
    position: absolute;
    left: 10.625rem;
    top: 4.5rem;
    width: 13.6rem;
    height: 39.375rem;
  }

  .phone-box .phonesort img {
    max-width: 100%;
    height: 98%;
  }

  .phone-box .phonelist {
    position: absolute;
    left: 25.55rem;
    top: 4.5rem;

  }

  .phone-box .phonelist ul li {
    width: 20.1rem;
    height: 18.75rem;
    float: left;
    margin-right: 0.9875rem;
    margin-bottom: 0.9125rem;
    background-color: #FFFFFF;
  }

  .phone-box .phonelist ul li .img {
    width: 10rem;
    height: 10rem;
    margin: 0 auto;
  }

  .phone-box .phonelist ul li .img img {
    max-width: 100%;
    height: auto;
  }

  .phone-box .phonelist ul li h3 {
    text-align: center;
    color: #333;
    font-weight: 400;
    font-size: 14px;
    padding-top: 0.9375rem;
  }

  .phone-box .phonelist ul li p {
    text-align: center;
    color: #B0B0B0;
    padding-top: 0.125rem;
  }

  .phone-box .phonelist ul li .price {
    padding-top: 0.8rem;
    color: #FF6700;
  }
.phone-box .product-img{
  position: absolute;
  width: 98.2rem;

  top: 45.125rem;
  left: 10.625rem;
}
.phone-box .product-img img{
  max-width: 100%;
}
</style>
